package org.jsets.fastboot.security.authc;

import javax.servlet.http.HttpServletRequest;
import org.springframework.security.core.AuthenticationException;

/**
 * 
 * 认证器接口
 * @author wj596
 *
 */
public interface IAuthenticator {
	AuthcResult login(AuthcRequest authcRequest) throws AuthenticationException;
	void logout(HttpServletRequest request);
	void authenticate(String token) throws AuthenticationException;
}
